package com.cincc.cinccimdemo.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.ProgressBar;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.cincc.cinccimdemo.R;
import com.cincc.cinccimdemo.widget.MyVideoPlayer;
import com.github.chrisbanes.photoview.PhotoView;
import com.google.android.material.imageview.ShapeableImageView;

public class PreviewVideoHolder extends RecyclerView.ViewHolder {
    public PhotoView photoView;
    public ShapeableImageView shapeableImageView;
    public ImageView btnImageView;
    public ProgressBar progressBar;
    public MyVideoPlayer videoView;

    public PreviewVideoHolder(@NonNull View itemView) {
        super(itemView);
        photoView = itemView.findViewById(R.id.photoView);
        shapeableImageView = itemView.findViewById(R.id.save_image);
        btnImageView = itemView.findViewById(R.id.btnVideo);
        progressBar = itemView.findViewById(R.id.loading);
        videoView = itemView.findViewById(R.id.videoView);

    }
}
